<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
.td_item {
	height: 30px;
	line-height: 30px;
	width: 100%;
	vertical-align: middle;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
}

.checkboxWidth {
	width: 200px;
}

.td_item_span {
	display: block;
	text-align: center;
	width: 71% !important;
}

.td_bgcolor {
	background: #FAFAFA;
}
</style>
<title>预算申请书</title>
<meta http-equiv="pragma" content="no-cache"></meta>
<meta http-equiv="cache-control" content="no-cache"></meta>
<meta http-equiv="expires" content="0"></meta>
<link href="${domainPath }/${res_app }/css/pdf.css" rel="stylesheet"
	type="text/css" />



</head>
<body>
	<c:set var="xmlstr" value="${xmlData}" />
	<x:parse xml="${xmlstr}" var="xmlData" />

	<c:set var="year"><x:out select="$xmlData/data/proposal/stat_year" /></c:set>
	<!-- 页眉 -->

	<span style="font-size: 18.343px;font-family: SimHei;">设备购置汇总表</span>
	<table  class="TblList" align="center">
			<col style="width: 9%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			<col style="width: 13%"/>
			
			<tr>
		
				<td align="center" class="td_bgcolor">序号</td>
				<td align="center" class="td_bgcolor">设备名称及型号</td> 
				<td align="center" class="td_bgcolor">生产国别</td>
				<td align="center" class="td_bgcolor">购置或试制数量</td>
		      <td align="center" class="td_bgcolor">单价（万元/台、件）</td> 
				
				<td align="center" class="td_bgcolor">经费预算</td>
				<td align="center" class="td_bgcolor">申请财政资助</td>  
				
				<td align="center" class="td_bgcolor">用途说明</td>   
			       
			</tr>
			<tr>
				<td colspan="8"><strong>1-10万元设备</strong></td>
			</tr>			
				<c:set value="0" var="index" scope="page"/>
				<x:forEach select="$xmlData/data/increaseds/list" var="list">
				
				<c:choose>
					<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
					<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
				</c:choose>
				<tr align="center">
					
					<td align="center">
						<x:out select="$list/@seq_no"/>
					</td>
					<td align="center">
						<x:out select="$list/name" />
					</td>
					<td align="center">
						<x:out select="$list/country" />
					</td>
					<td align="center">
						<x:out select="$list/amount" />
					</td>
					
					
					
					<td align="center">
						<x:out select="$list/price" />
					</td> 
					
					<td align="center">
						<x:out select="$list/money" />
					</td> 
					
					<td align="center">
						<x:out select="$list/model" />
					</td>
					
		
					<td align="center">
						<x:out select="$list/user_desc" />
					</td> 
					
				</tr>
				<c:set value="${index+1}" var="index" scope="page"/>
				</x:forEach>
			<tr>
				<td colspan="8"><strong>10万元以上设备</strong></td>
			</tr>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/euipments10/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						
						<td align="center">
							<x:out select="$list/@seq_no"/>
						</td>
						<td align="center">
							 <x:out select="$list/name" />
						</td>
						<td align="center">
							<x:out select="$list/country" />
						</td>
						<td align="center">
							<x:out select="$list/amount" />
						</td>
						
						<td align="center">
							<x:out select="$list/price" />
						</td> 
						
						<td align="center">
							<x:out select="$list/money" />
						</td> 
						
						
						<td align="center">
							<x:out select="$list/model" />
						</td>
						
						
						<td align="center">
							<x:out select="$list/user_desc" />
						</td> 
						
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				
			<tr>
				<td colspan="5" align="center"><strong>合 计</strong></td>
				<td align="center">
					  <x:out select="$xmlData/data/proposal/equipment_fund"/>
				</td>
				<td align="center">
					<x:out select="$xmlData/data/proposal/equipment_app"/>
				</td>
			     <td align="center">/</td>
			</tr>
				
	</table>
					
					
		

	
	
	
	
	
<p style="page-break-after: always">&nbsp;</p>
	
</body>

</html>
